package com.lin.chapter31.chapter1.decorator;

import com.lin.chapter31.chapter1.IRunner;

public class RunnerWithJet implements IRunner {
	private IRunner runner;

	public RunnerWithJet(IRunner runner) {
		this.runner = runner;
	}

	@Override
	public void run() {
		System.out.println("加快运动员的速度：为运动员增加喷气装置");
		runner.run();
	}
}
